<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:shells="clr-namespace:Apex.Shells"
    xmlns:dragAndDrop="clr-namespace:Apex.DragAndDrop">

    <Style TargetType="shells:Shell">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="shells:Shell">
                    <Border Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}">
                        <dragAndDrop:DragAndDropHost x:Name="PART_DragAndDropHost">
                            <Grid x:Name="PART_ApplicationHost">
                                <ContentPresenter />
                                <Grid x:Name="PART_PopupHost" Visibility="Visible" />
                            </Grid>
                        </dragAndDrop:DragAndDropHost>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
